<template>
	<view class="all">
		<view class="list-item" v-for="i in 3" @tap="goUrl()">
			<view class="list-item-content">
				<view class="items">
					<image class="portrait" src="../../static/aqy.png" mode=""></image>
					<text class="colorhui">姓名</text>
				</view>
				<view class="items">
					<text>巡检项目：</text>
					<text class="colorhui">123456789</text>
				</view>
				<view class="items">
					<text>巡检时间：</text>
					<text class="colorhui">2020.03.23</text>
				</view>
				<view class="items">
					<text>隐患地址：</text>
					<text class="colorhui">武强县街关镇看庄村81号</text>
				</view>
				<view class="items">
					<text>状态：</text>
					<text class="colorhui">未检查</text>
				</view>
			</view>
			<view class="list-item-status">
				<image class="status-img" src="../../static/unchecked.png" mode=""></image>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data(){
			return{
				
			}
		},
		methods:{
			goUrl(){
				this.$emit('goUrl')
			}
		}
	}
</script>

<style lang="less" scoped>
	.all{
		padding: 22rpx 32rpx 0;
		min-height: 100vh;
		background: #F1F1F1;
	}
	.list-item{
		background: #FFFFFF;
		box-shadow: 0rpx 4rpx 6rpx rgba(0, 30, 57, 0.1);
		border-radius: 16rpx;
		display: flex;
		padding: 0rpx 20rpx;
		margin-bottom: 22rpx;
		align-items: center;
		justify-content: space-between;
		.list-item-content{
			width: 452rpx;
			.items{
				display: flex;
				align-items: center;
				padding: 5rpx 0;
				.portrait{
					width: 36rpx;
					height: 36rpx;
				}
				.colorhui{
					color: #999999;
				}
			}
		}
		.list-item-status{
			width: 171rpx;
			height: 174rpx;
			.status-img{
				display: block;
				width: 100%;
				height: 100%;
			}
		}
	}
</style>
